import http from '@/common/request'



// 查询当前学期
export function getCurrentSemster() {
  return http.request({
    url: '/base/semster/current',
    method: 'get',
	needToken: true
  })
}

// 查询学期列表
export function listSemster(query) {
  return http.request({
    url: '/base/semster/select',
    method: 'get',
    params: query
  })
}

// 查询节次列表
export function listSection(query) {
  return http.request({
    url: '/base/section/list',
    method: 'get',
    data: query
  })
}


// 查询班级列表
export function listClass(query) {
  return http.request({
    url: '/base/clazz/list',
    method: 'get',
    data: query
  })
}



// 查询学生列表
export function listStudent(query) {
  return http.request({
    url: '/base/student/list',
    method: 'get',
    data: query
  })
}

